package com.example.myapplication;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * @Author xdd
 * @Data 2023/11/3 14:46
 */
public class MyBroadcastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        switch (action) {
            case "com.example.MY_CUSTOM_ACTION":
                System.out.println("xd====有序广播收到了");
                break;
        }


    }
}
